<?php
/**
 * ShopEx licence
 *
 * @copyright  Copyright (c) 2005-2010 ShopEx Technologies Inc. (http://www.shopex.cn)
 * @license  http://ecos.shopex.cn/ ShopEx License
 */

$db['business_recommend_goods']=array (
  'columns' =>
  array ( 
    'rg_id' => 
        array (
          'type' => 'number',
          'required' => true,
          'pkey' => true,
          'extra' => 'auto_increment',
          'editable' => false,
          'comment' => app::get('b2c')->_('对象ID'),
        ),
    'childOrder_id'=>
        array (
            'type' => 'varchar(32)',
            'required' => true,
            'label' => app::get('b2c')->_('子单id'),
            'width' => 150,
            'comment' => app::get('b2c')->_('供应商订单号'),
            'in_list' => true,
            'default_in_list' => true,
	        'searchtype' => 'has',
	        'filtertype' => 'yes',
        ),
    'mainOrder_id'=>
        array (
            'type' => 'varchar(32)',
            'required' => true,
            'label' => app::get('b2c')->_('主单id'),
            'width' => 150,
            'comment' => app::get('b2c')->_('主单订单号'),
            'in_list' => true,
            'default_in_list' => true,
	        'searchtype' => 'has',
	        'filtertype' => 'yes',
        ),
    'business_id'=>
		array(
		'type' => 'table:business_basicmsg',
		'label' => app::get('b2c')->_('供应商'),
		'width' => 150,
		'comment' => app::get('b2c')->_('供应商'),
		'in_list' => true,
		'default_in_list' => true,
		'searchtype' => 'has',
		'filtertype' => 'yes',
		),
    'goods_id' => 
        array (
          'type' => 'table:goods',
          'required' => true,
          'default' => 0,
          'editable' => false,
          'comment' => app::get('b2c')->_('商品ID'),
        ),
    'r_goods_id' => 
        array (
          'type' => 'table:goods',
          'required' => true,
          'default' => 0,
          'editable' => false,
          'comment' => app::get('b2c')->_('推荐商品ID'),
        ),
  ),
  'engine' => 'innodb',
  'version' => '$Rev: 44515 $',
  'comment' => app::get('b2c')->_('推荐商品表'),
);